import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from '@/router/index'
import App from './App.vue'
import store from '@/store/index'
import {httpGet,httpPost,httpPut,httpDelete} from '@/axios/api';
import '@/mock/index';

Vue.config.productionTip = false

Vue.use(ElementUI)

Vue.prototype.$httpGet = httpGet;
Vue.prototype.$httpPost = httpPost;
Vue.prototype.$httpPut = httpPut;
Vue.prototype.$httpDelete = httpDelete;

new Vue({
  render: h => h(App),
  router,
  store,
}).$mount('#app')